# -*- encoding: utf-8 -*-
'''
@File    :   1.17_1.py
@Time    :   2022/10/30 19:14:46
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib

import os

# 输出当前路径
print(os.getcwd())

# 创建test目录
os.mkdir("test")

# 获取所有文件
def get_files():
    for filepath, dirnames, filenames in os.walk(r'D:\CodeProjects\gitlab\my_python\exercise'):
        for filename in filenames:
            print(filename)


get_files()
